package com.hangim.pce.model.vo.response;

import lombok.Data;

@Data
public class BaseResult implements java.io.Serializable{
    private static final long serialVersionUID = 1L;
    private String result = "";
    private String reason = "响应正确";

    public BaseResult() {}
    public BaseResult(String result , String reason) {
        this.result = result;
        this.reason = reason;
    }

    public BaseResult setResult(String result) {
        this.result = result;
        return this;
    }

    public BaseResult setReason(String reason) {
        this.reason = reason;
        return this;
    }


    public BaseResult build() {
        return new BaseResult(this.result, this.reason);
    }

}
